package com.zxx.pattern.adapterPattern.adapter1;

/**
 * 1.类适配模式
 * 因为继承Adaptee，这样就直接具有了Adaptee中的adapteeMethod()方法
 * @author zxx on 2021/7/8
 */
public class AdapterClass extends Adaptee implements Target {

    @Override
    public void targetMethod() {
        super.adapteeMethod();
    }
}
